<?php 

if ($_POST) {
	$id = $_POST['id'];

	$_POST['create_time'] = time();

	$shuju = include_once './shuju.php';

	$shuju[$id] = $_POST;

	$shuju = var_export($shuju,true);

	$shuju = "<?php return ".$shuju." ?>";

	file_put_contents('./shuju.php', $shuju);

	header('Location:./index.php');


}else{
	$id = $_GET['id'];

	$str = include_once './shuju.php';


	$str = $str[$id];

	include_once './tpl/xiug.html';
}










 ?>